// types.ts
// export interface FileObject {
//   uid: string;
// }

export interface DocumentItem {
  uid: string;
  lastModified: number;
  lastModifiedDate: string;
  name: string;
  size: number;
  type: string;
  percent: number;
  originFileObj: File;
  status: string;
  response: string | { file: File };
  xhr: Record<string, unknown>;
}

export interface VehicleData {
  lpnNo: string;
  octopus: string;
  lpnNoInput: string;
  vehType: string;
  authLetter: string | boolean;
  dppp: string | boolean;
  vehicle: DocumentItem[];
  dpppFile: DocumentItem[];
  authFile: DocumentItem[];
}

// resultTypes.ts
// export interface Result {
//   lpnData: Omit<VehicleData, "doc">[];
//   doc: {
//     fileName: string;
//     lpnDocType: string;
//     data: File;
//   }[];
// }
